package com.gzz.orchid.context.application.base;

import com.gzz.orchid.common.core.tuple.Option;
import com.gzz.orchid.context.application.base.pojo.ConfigurationDto;
import com.gzz.orchid.context.application.base.pojo.ConfigurationVo;
import com.gzz.orchid.context.application.base.queries.ConfigurationQuery;


import java.util.List;

/**
 * @author higmd
 */
public interface IConfigurationHandler {
    List<ConfigurationDto> listByPager(ConfigurationQuery query);

    List<ConfigurationDto> list(ConfigurationQuery query);

    ConfigurationVo detail(Long id);

    List<Option<String>> options();
}
